package com.dd.cloud.user.res.order;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author Lx
 * @version 1.0
 */
@Data
public class OrderPresDetailExcelRes {
    /**
     * 序号
     */
    @Excel(name = "序号", orderNum = "1")
    private Integer no;

    /**
     * 订单编号
     */
    @Excel(name = "订单编号", orderNum = "2")
    private String orderNo;

    /**
     * 处方编号
     */
    @Excel(name = "处方编号", orderNum = "3")
    private String tencode;

    /**
     * 医生姓名
     */
    @Excel(name = "医生姓名", orderNum = "4")
    private String doctorName;

    /**
     * 医生机构
     */
    @Excel(name = "医生机构", orderNum = "5")
    private String mechanName;

    /**
     * 药品费
     */
    @Excel(name = "药品费", orderNum = "6", isStatistics = true, numFormat = "#.##")
    private BigDecimal drugsFee;


    /**
     * 快递费
     */
    @Excel(name = "快递费", orderNum = "7", isStatistics = true, numFormat = "#.##")
    private BigDecimal expressFee;

    /**
     * 代煎费
     */
    @Excel(name = "代煎费", orderNum = "8", isStatistics = true, numFormat = "#.##")
    private BigDecimal fryingFee;

    /**
     * 合计金额(流水费用)
     */
    @Excel(name = "合计金额", orderNum = "9", isStatistics = true, numFormat = "#.##")
    private BigDecimal flowFee;

    /**
     * 药品原价费用
     */
    @Excel(name = "药品原价费用", orderNum = "10", isStatistics = true, numFormat = "#.##")
    private BigDecimal presOriginalMoney;

    /**
     * 交易时间
     */
    @Excel(name = "交易时间", orderNum = "11", exportFormat = "yyyy-MM-dd HH:mm", databaseFormat = "yyyy-MM-dd HH:mm")
    private LocalDateTime updateDate;
}
